package com.ycfmedical.bed.event;

import com.ycfmedical.bed.Constants;

import cn.droidlover.xdroidmvp.event.IBus;

/**
 * Created by Administrator on 2017/3/17 0017.
 */

public class ControlEvent implements IBus.IEvent
{
    // 点击的区域
    private int Area;
    // 增或减
    private boolean calculation;
    // 增减的快慢
    private boolean numeration;

    public int getArea()
    {
        return Area;
    }

    public boolean getnumber()
    {
        return calculation;
    }

    public boolean isNumeration()
    {
        return numeration;
    }

    public ControlEvent(int Area, boolean number, boolean numeration)
    {
        this.Area = Area;
        this.calculation = number;
        this.numeration = numeration;
    }

    @Override
    public int getTag()
    {
        return Constants.EVENT_LOGIN;
    }
}
